\setupbackgrounds[header][text] [background=color, backgroundcolor=red]
\setuppagenumbering[state=start,alternative=doublesided,location=footer]
\showlayout
\starttext
\showsetups
\dorecurse{10}{
Page \recurselevel
\page
}
\stoptext
__
\displaywidowpenalties{2}{0}
\stopsetups
\setuplayout[setups=mypenalties]
%\showframe
\showmakeup
\showsetups
\starttext
\dorecurse{5}{\input knuth\par}
\stoptext
===
> -Ursprüngliche Nachricht-
> Von: Maier, Denis Christian (UB)
> Gesendet: Donne
=mypenalties]
%\showframe
\showmakeup
%\showsetups
\starttext
\dorecurse{5}{\input knuth\par}
\stoptext
=
How do you do this usually? Any best-practices? Hints? Trial and error seems to
work ok, but maybe there is a more efficient method...
Best
Denis
gt; \setuppagenumbering[alternative=doublesided]
> \starttext \showframe \showsetups \stoptext
>
> Just in case it helps,
>
Sylvain
___
If your question is of interest to others as well, please add
weird here.
Compare the four options:
%~ \setuplayout[width=middle, backspace=0.001mm]
%~ \setuplayout[width=fit, backspace=0.001mm]
%~ \setuplayout[width=middle, cutspace=0.001mm]
%~ \setuplayout[width=fit, cutspace=0.001mm]
\starttext \showframe \showsetups \stoptext
Each of the options gives a
On 11/5/20 11:28 AM, Sylvain Hubert wrote:
> Dear List,
>
> \starttext \showframe \showsetups \stoptext
>
> This minimal example without further configuration shows that the
> default value for backspace, textwidth and paperwidth are 2.5cm, 15cm,
> 21cm resp., which me
On Thu, 2020-11-05 at 11:28 +0100, Sylvain Hubert wrote:
> Dear List,
>
> \starttext \showframe \showsetups \stoptext
>
> This minimal example without further configuration shows that the default
> value for backspace, textwidth and paperwidth are 2.5cm, 15cm, 21cm re
Dear List,
\starttext \showframe \showsetups \stoptext
This minimal example without further configuration shows that the default
value for backspace, textwidth and paperwidth are 2.5cm, 15cm, 21cm resp.,
which means that the textarea is horizontally 0.5cm off the center by
default, and one
llonius.103][width=2.0in]}
\switchtobodyfont[nameface]
\setlayer[tblplacecard][x=10em,y=3.0em]%
{\tfg\it\color[orangered]{Vidya}}
\flushlayer[tblplacecard]
\stopbuffer
\starttext
\setupcolors[state=start]
%%% 1. Show the frame and layout information.
\showfram
.
This is the only way it works:
\definepalet[layout][grid=black]
%~ \setuppalet[layout] [grid=black]
\showgrid
\starttext
\ConTeXt\ is awesome!
\stoptext
I don’t know whether I’m missing something, but \showsetups{setuppalet}
only shows this:
\setuppalet
\definepalet[layout][grid=black]
%~ \setuppalet[layout] [grid=black]
\showgrid
\starttext
\ConTeXt\ is awesome!
\stoptext
I don’t know whether I’m missing something, but \showsetups{setuppalet}
only shows this:
\setuppalet [.*.]
* NAME
Many thanks for
Hi,
May be this setup works.
\setuppapersize[A4]
\setuplayout[
header=20mm,
footer=20mm,
height=fit,
topspace=0cm,
width=fit,
backspace=2cm,
rightmargin=0cm,
leftmargin=0cm,
leftmargindistance=0pt,
rightmargindistance=0pt]
\showframe
\starttext
\showsetups
\stoptext
\setuplayout
[topspace=10mm,
header=10mm,
footer=10mm,
height=middle,
backspace=20mm,
width=middle]
\showframe
\starttext
\showsetups
\stoptext
Wolfgang
Lizardo M. Reyna Bowen schrieb am 09.08.18 um 04:50:
Hi,
May be this setup works.
\setuppapersize[A4]
\setuplayout
Hi,
May be this setup works.
\setuppapersize[A4]
\setuplayout[
header=20mm,
footer=20mm,
height=fit,
topspace=0cm,
width=fit,
backspace=2cm,
rightmargin=0cm,
leftmargin=0cm,
leftmargindistance=0pt,
rightmargindistance=0pt]
\showframe
\starttext
\showsetups
\stoptext
is that the landscape page is not as expected in that it is
a square page. Inserting a \showsetups and \showframe into page 3 I can see
that it is layed out Ok but on a large piece of paper. \printpaperwidth and
\printpaperheight are both set to 29.7cm.
Aidan
,%
rightmargindistance=5pt,rightmargin=20mm,rightedge=2mm%
topspace=22mm,header=12mm,headerdistance=2mm,textheight=164mm,footerdistance=2mm,footer=12mm%
]%
\showframe
\showsetups
% works as expected, the whole page is red:
\setupbackgrounds
[page]
[background=color
%
]%
\showframe
\showsetups
% works as expected, the whole page is red:
\setupbackgrounds
[page]
[background=color, backgroundcolor=red]
% the next does nothing, even being alone (the other \setupbackgrounds
commented out)
% I tried to colorize only header and footer
%
topspace=22mm,header=12mm,headerdistance=2mm,textheight=164mm,footerdistance=2mm,footer=12mm%
]%
\showframe
\showsetups
% works as expected, the whole page is red:
\setupbackgrounds
[page]
[background=color, backgroundcolor=red]
% the next
On Sun, Jan 8, 2012 at 19:40, Hans Hagen pra...@wxs.nl wrote:
I uploaded a new beta. Apart from some fixes the core font/type modules have
been cleaned up so there might be temporary font side effects.
Looks like \showsetups got broken...
! Undefined control sequence.
system tex
] %booklet arranging
4
5 % \showsetups
6
7 \setuplayout
8 [backspace=0pt,
9 topspace=0pt,
10width=middle,
11 height=middle,
\meta_grab_clip_path ...ght \ifcsname \??mpmpclip
#1\endcsname
arranging
3 \setuparranging[2UP] %booklet arranging
4
5 % \showsetups
6
7 \setuplayout
8 [backspace=0pt,
9 topspace=0pt,
10width=middle,
11 height=middle,
\meta_grab_clip_path ...ght \ifcsname \??mpmpclip
should be \??mpclip in meta
On 10-1-2012 11:59, Mari Voipio wrote:
On Sun, Jan 8, 2012 at 19:40, Hans Hagenpra...@wxs.nl wrote:
I uploaded a new beta. Apart from some fixes the core font/type modules have
been cleaned up so there might be temporary font side effects.
Looks like \showsetups got broken...
it should
Hi there,
compiling this document:
\setuppapersize[A4]
\setuppagenumbering[alternative=singlesided,location=middle]
\starttext
\showsetups
\dorecurse{4}{\input dawkins \par \input knuth \par}
\stoptext
I should get the exact same length for left and right margin (defining
margin as the total
Am 11.12.2011 um 17:57 schrieb Pablo Rodríguez:
Hi there,
compiling this document:
\setuppapersize[A4]
\setuppagenumbering[alternative=singlesided,location=middle]
\starttext
\showsetups
\dorecurse{4}{\input dawkins \par \input knuth \par}
\stoptext
I should get the exact same
!repeat]}
\gdef\showframe
{\dodoubleempty\doshowframe}
\gdef\showsetups
{\ctxcommand{showlayoutvariables()}}
\gdef\showlayout % interfereert lelijk met een \typefile er na
{\ctxcommand{showlayout()}}
\gdef\showmargins
{\starttabulate
\NC asynchrone \NC \doifoddpageelse {odd} {even
can be used to see the setups:
\showsetups{showcolor}
(Actually in the source there is a mistyping « \showsetup » instead of «
\showsetups »).
Best regards: OK
___
If your question is of interest to others
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
\setuplayout[topspace=1.5cm,margin=1.5cm,header=1.5cm,footer=1.5cm,width=fit,height=fit,backspace=1.5cm]
% Enable colors and activate hyperlinks
(for
binding) and 2 cm right (odd pages); and the same values mirrored for even
pages.
My code is:
---
\setuplayout[location=doublesided]
%\setuplayout[location=duplex]
%\setuplayout[location=middle]
\starttext
\showsetups
\showlayout
\showgrid
\dorecurse{1}{\input knuth\par
number
\setuppagenumbering [location={footer}]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Enable colors and activate hyperlinks
\setupcolors
}
\stopcolumnset
\page
\showsetups
\stoptext
% \stopminimalexample
Thanks in advance,
olli
Footnotes:
[1] http://en.wikipedia.org/wiki/Bleed_(printing)
--
Oliver Heins he...@sopos.orghttp://oliverheins.net/
http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8
http://scriptorium-adp.de
[topspace=2cm, header=0cm, footer=0.6cm, bottomspace=2cm,
height=fit,
%leftmargin=1.5cm, rightmargin=2cm,
backspace=1.5cm, cutspace=2cm, width=fit]
\setuppagenumbering[location={footer,middle}, alternative=doublesided,
style=\tfx]
\showlayout\showsetups\showframe
\bye
Regards,
Vyatcheslav
=doublesided,
style=\tfx]
\showlayout\showsetups\showframe
\bye
I'm not sure, but what about
width=middle
?
--
luigi
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
,
leftmargindistance=0.2cm,
backspace=1.2cm,
height=fit,
rightmargin=2.5cm,
leftmargin=1cm,
bottomspace=2cm,
footer=0.8cm,
setup=strict]
% \showgrid
\showframe
% \showsetups
% \showlayout
\setuppagenumbering[alternative=doublesided,location
\setuppagenumbering [location={footer}]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
\setuplayout[topspace=1.5cm,margin=1.5cm,header=0.8cm,footer=1.5cm,width
\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % marge d'adalt
%margin=1.5cm, %marges dels costats
%header=1.0cm,%separació entre adalt i primera lÃnia
%footer=1.0cm,%separació entre abaix i darrera lÃnia
={footer}]
% White space between paragraphs
%\setupwhitespace [big]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout
=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % marge d'adalt
%margin=1.5cm, %marges dels costats
%header=1.0cm,%separació entre adalt i primera lÃnia
%footer=1.0cm
\setuppagenumbering [location={footer}]
% White space between paragraphs
%\setupwhitespace [big]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
}]
% White space between paragraphs
%\setupwhitespace [big]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace
\setuppagenumbering [location={footer}]
% White space between paragraphs
%\setupwhitespace [big]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
\setuplayout[topspace=1.5cm, % marge d'adalt
margin=1.5cm, %marges dels costats
header=1.0cm
the layout borders
\showframe
% Display the grid
\showgrid
% Display the current layout setup value
%\showsetups
Font
% Accept accents by default as input, like é, à and others.
\enableregime[utf]
Beginning of the document
\starttext
\section{Le mot du président
]
\showframe
%\showsetups
\starttext
\reference[myToC]{}
\placecontent
\chapter{Chapter 1}
\input knuth
\stoptext
Thx,
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki
Where did you see topheight, headerheight, footerheight, and bottomheight?
1. http://archive.contextgarden.net/message/20080812.135630.04ad74e5.en.html
2. From observation: see \showsetups output (right column)
This part of ConTeXt and/or the instructional resources somehow got so
polluted
On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan [EMAIL PROTECTED] wrote:
Where did you see topheight, headerheight, footerheight, and bottomheight?
Perhaps you wanted
\setuppapersize[S6][S6]
\showframe
\showsetups
\setuplayout[topspace=15pt,
header=15pt,
height=middle,
footer
Alan Stone wrote:
On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan [EMAIL PROTECTED] wrote:
Where did you see topheight, headerheight, footerheight, and bottomheight?
Perhaps you wanted
\setuppapersize[S6][S6]
\showframe
\showsetups
move the previous line
\setuplayout[topspace=15pt
=180pt]
\showframe
\showsetups
\starttext
testing
\stoptext
On Wed, Aug 27, 2008 at 1:27 PM, Hans Hagen [EMAIL PROTECTED] wrote:
Alan Stone wrote:
On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan [EMAIL PROTECTED]
wrote:
Where did you see topheight, headerheight, footerheight
leftedgewidth=0pt,
leftmarginwidth=0pt,
rightmarginwidth=0pt,
rightedgewidth=180pt]
\showframe
\showsetups
\starttext
testing
\stoptext
On Wed, Aug 27, 2008 at 1:27 PM, Hans Hagen [EMAIL PROTECTED] wrote:
Alan Stone wrote:
On Tue, Aug 26, 2008 at 11:17 AM, Aditya
Alan Stone wrote:
Going back to my example (see below)...
Same observations, same questions.
The names and values reported by showsetups are not 1-to-1 to
the arguments of \setuplayout. If you want to know what you
can use in \setuplayout, use any of the manuals, or texshow:
http
That said, it is a little confusing that the table from
\showsetups doesn't match up ...
A little ???
Alan
On Wed, Aug 27, 2008 at 3:09 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:
Alan Stone wrote:
Going back to my example (see below)...
Same observations, same questions.
The names
,
bottomheight=15pt,
top,header,footer,bottom etc no height/width appended
Thanks Hans.
- \showsetups output contains a lot of junk, a thorough cleaning would be
utmost welcome
well, one can roll out his/her own -)
- \showframe doesn't draw topspace and bottomspace
- which
,
bottomheight=15pt,
top,header,footer,bottom etc no height/width appended
Thanks Hans.
- \showsetups output contains a lot of junk, a thorough cleaning would be
utmost welcome
- \showframe doesn't draw topspace and bottomspace
- which \setuplayout parameters enable a space/blank area between
]
\setuplayout[topheight=15pt,
headerheight=15pt,
footerheight=15pt,
bottomheight=15pt,
top,header,footer,bottom etc no height/width appended
Thanks Hans.
- \showsetups output contains a lot of junk, a thorough cleaning would be
utmost welcome
well, one can roll
\setuppapersize[S6][S6]
\setuplayout[topheight=15pt,
headerheight=15pt,
footerheight=15pt,
bottomheight=15pt,
top,header,footer,bottom etc no height/width appended
Thanks Hans.
- \showsetups output contains a lot of junk, a thorough cleaning would be
utmost welcome
well, one can roll out
Thanks Taco.
I am somewhat confused myself as to why this is generally considered to be
so confusing.
What's most confusing are the:
- wiki layout explanation at http://wiki.contextgarden.net/Layout
- \showsetups output
- excursion manual, table 33.2 page 74
- main manual page 24
Alan Stone wrote:
- \showsetups output
The \setuplayout parameters are in column one, the query-ing macros
are in column four. These are correct.
Good to finally know what corresponds to what. It might be useful to put
a label mentioning these at the top of both columns.
What do you
Hi,
Taking S6 = 600pt wide x 450pt heigh for example...
\setuppapersize[S6][S6]
\showframe
\showsetups
\setuplayout[topheight=15pt,
headerheight=15pt,
footerheight=15pt,
bottomheight=15pt,
leftedgewidth=0pt,
leftmarginwidth=0pt,
rightmarginwidth=0pt,
rightedgewidth=180pt
Alan Stone schrieb:
Hi,
Taking S6 = 600pt wide x 450pt heigh for example...
\setuppapersize[S6][S6]
\showframe
\showsetups
\setuplayout[topheight=15pt,
headerheight=15pt,
footerheight=15pt,
bottomheight=15pt,
leftedgewidth=0pt,
leftmarginwidth=0pt,
rightmarginwidth
Hi Peter,
I meant the showframe and showsetups displays on the pdf document itself,
not the document paper printout.
Best,
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki
On Tue, 26 Aug 2008, Alan Stone wrote:
Hi,
Taking S6 = 600pt wide x 450pt heigh for example...
\setuppapersize[S6][S6]
\showframe
\showsetups
\setuplayout[topheight=15pt,
headerheight=15pt,
footerheight=15pt,
bottomheight=15pt,
leftedgewidth=0pt,
leftmarginwidth=0pt
Alan Stone schrieb:
Hi Peter,
I meant the showframe and showsetups displays on the pdf document itself,
not the document paper printout.
oeps, sorry :)
you simply use some wrong parameter here (names of internal dimensions).
e.g. use 'footer=15pt' instead of 'footerheight=15pt'.
best
|margin|edge]
\showgrid
# \showgridboxes
# \showgridsnapping
\showlayout
# \showlayoutcomponents
\showmakeup
\showpalet[name][horizontal|vertical|name|value]
\showprint[typesetting papersize][printing papersize][settings]
\showsetups
\showstruts
# \showstruts
\showsymbolset[name]
# \snaptogrid
}
\includeMPgraphic{filledsquare}
draw redsquare xysized (ExHeight,ExHeight) shifted
(bbwidth(currentpicture)+.1mm,0) ;
\stopreusableMPgraphic
\starttext
\showsetups
\showlayout
\stoptext
---
___
ntg-context mailing list
ntg-context@ntg.nl
http
% in the metapost_test is the code from page 118 = beginfig(21) ;...
\startMPrun
input metapost_test;
\stopMPrun
\externalfile[mprun.21][width=5cm]
\showsetups
\showlayout
\stoptext
---
Please can any body help, thx.
al ;-)
___
ntg-context mailing list
ntg
Dear fellow-ConTeXters,
working with Context I noticed some small, strange behaviours:
1. I arranged pages in the following way:
\definepapersize[myCustomLayout][width=12cm, height=19cm]
\setuppapersize[myCustomLayout][A4,landscape]
\setuparranging[2SIDE]
now, when I use \showsetups I get
\setuppagenumbering [alternative=doublesided]
\setuplayout[backspace=1cm,leftmargin=.5cm]
\starttext
\dorecurse{4}{\input tufte \inleft{\the\hsize}\inright{\the\hsize} \page}
\showsetups
\stoptext
I have no idea what is going on.
Patrick
--
You are your own rainbow
\showsetups
\stoptext
Patrick
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
67 matches
Mail list logo